<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>首页|团购网</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />

		<!--尾部公共样式-->
		<link rel="stylesheet" type="text/css" href="css/common.css" />
		<!--首页样式-->
		<link rel="stylesheet" type="text/css" href="css/index.css" />
		<!--iconfont样式-->
		<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
	</head>

	<body>
		<!-- 头部 S -->
		<header class="clearfix">
			<div class="logo fl">
				<a href="index.html"><img src="img/logo2.png" /></a>
			</div>
			<div class="selectBar fr">
				<select name="">
					<option value="">广州市</option>
					<option value="">佛山市</option>
					<option value="">深圳市</option>
				</select>
			</div>
			<div class="searchBar ">
				<input type="search" />
				<input type="image" src="img/fangdajing.png" />
			</div>
		</header>
		<!-- 头部 E -->

		<!-- 主体 S-->
		<section>
			<div class="lunbo"><img src="img/images/lunbo_02.jpg" /></div>

			<div class="youhuituangou clearfix">
				<div class="tuangoutop">
					<div><img src="img/tuangouyouhui.jpg" /></div>
					<div>优惠团购</div>
					<div class="fr"><img src="img/right.jpg" /></div>
					<div class="fr">更多</div>
				</div>
				<div class="youhuitwo clearfix">
					<div class="fl"><img src="img/images/youhui1_03.jpg" /></div>
					<div class="fr"><img src="img/images/youhui3_26.jpg" /></div>
					<div class="fl"><img src="img/images/youhui2_22.jpg" /></div>
					<div class="fr"><img src="img/images/youhui4_26.jpg" /></div>
				</div>
			</div>
			<div class="guess">
				<div class="tuangoutop">
					<div><img src="img/love.jpg" /></div>
					<div>猜你喜欢</div>
					<div class="fr"><img src="img/right.jpg" /></div>
					<div class="fr"><a href="productdetail.html">更多</a></div>
				</div>
				<!--万岁寿司s-->
				<div class="like">
					<div class="likeleft"><img src="img/images/like_03.jpg" /></div>

					<div class="likeright">
						<div>
							<div class="wansui"><b>万岁寿司(正佳店)</b></div>
							<div class="juli">
								<100m</div>
							</div>
							<div class="twopepel">[100店通用] &nbsp;双人套餐</div>
							<div>
								<div class="money">&yen;88.00</div>
								<div class="shuliang">已售1000</div>
							</div>
						</div>

					</div>
					<!--万岁寿司e-->

					<!--菜单周黑鸭s-->
					<div class="like">
						<div class="likeleft"><img src="img/images/like2_10.jpg" /></div>

						<div class="likeright">
							<div>
								<div class="wansui"><b>万岁寿司(正佳店)</b></div>
								<div class="juli">
									<100m</div>
								</div>
								<div class="twopepel">[100店通用] &nbsp;双人套餐</div>
								<div>
									<div class="money">&yen;88.00</div>
									<div class="shuliang">已售1000</div>
								</div>
							</div>

						</div>
						<!--菜单周黑鸭e-->
					</div>
		</section>
		<!-- 内容部 E -->

		<!-- 尾部S -->
		<footer>
			<div class="footer">

				<div class="footer1">
					<a href="index.html"><i class="iconfont icon-yemian"></i></a>
					<p><a href="index.html">首页</a></p>
				</div>

				<div class="footer1">
					<a href="category.html"><i class="iconfont icon-feilei"></i></a>
					<p><a href="category.html"></a>分类</p>
				</div>

				<div class="footer1">
					<a href="faxiang.html"><i class="iconfont icon-faxian"></i></a>
					<p><a href="faxiang.html">发现</a></p>
				</div>

				<div class="footer1">
					<a href="myself.html"><i class="iconfont icon-md-mine-outline"></i></a>
					<p><a href="myself.html">我的</a></p>
				</div>

			</div>

		</footer>
		<!-- 尾部 E -->

		<!-- 脚本 -->
		<script>
			document.body.style.height = window.innerHeight + "px";

			/*动态改变根元素字体大小*/
			function recalc() {
				// 获取客户端宽度
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				// 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';

			}

			function initRecalc() {
				recalc();
				// if(浏览器支持横竖屏切换的事件){横竖屏事件}else{ resize事件 }
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>

	</body>

</html>